package cn.waka.sys.admin.object;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

public class Result {

	private int code=0;
	@JsonInclude(Include.NON_NULL)
	private String msg=null;
	@JsonInclude(Include.NON_NULL)
	private Object data=null;
	
	@JsonInclude(Include.NON_NULL)
	private String url;
	
	private int wait=3;

	public int getCode() {
		return code;
	}

	public void setCode(int errorCode) {
		this.code = errorCode;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String errorMsg) {
		this.msg = errorMsg;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getWait() {
		return wait;
	}

	public void setWait(int wait) {
		this.wait = wait;
	}
	
	
	
}
